package org.mock.service;

import org.mock.common.ResultBaiFenHui;
import org.mock.entity.BaifenhuiProduct;
import org.mock.dto.BaifenhuiProductDTO;

import java.util.List;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.mock.request.baiFenHui.CreateRechargeOrderRequest;
import org.mock.request.baiFenHui.GoodInfoRequest;

/**
 * 服务类
 *
 * @author AI
 * @since 2025-05-21
 */
public interface BaifenhuiProductService {

    IPage<BaifenhuiProduct> page(BaifenhuiProductDTO dto);

    List<BaifenhuiProduct> list(BaifenhuiProductDTO dto);

    Integer save(BaifenhuiProductDTO dto);

    Integer updateById(BaifenhuiProductDTO dto);

    Integer deleteLogic(List<Integer> toIntList);

    BaifenhuiProduct getOne(BaifenhuiProductDTO dto);

    ResultBaiFenHui getGoodInfo(GoodInfoRequest request);

    ResultBaiFenHui createRechargeOrder(CreateRechargeOrderRequest request);
}
